EC-CUBE 2.11.4
[ class tree: EC-CUBE 2.11.4 ] [ index: EC-CUBE 2.11.4 ] [ all elements ]

Class: LC_Upgrade_Helper_Json

Source Location: /pages/upgrade/helper/LC_Upgrade_Helper_Json.php

Class Overview

Services_JSON
   |
   --LC_Upgrade_Helper_Json

Enter description here...


Variables

Methods



Class Details

[line 7]
Enter description here...



[ Top ]


Class Variables

$arrData = array(
        'status'  => null,
        'errcode' => null,
        'msg'     => null,
        'data'    => array())

[line 9]


Type:   mixed


[ Top ]



Class Methods


constructor LC_Upgrade_Helper_Json [line 21]

SC_Upgrade_Helper_Json LC_Upgrade_Helper_Json( )

Enter description here...



[ Top ]

method decode [line 88]

StdClass decode( string $str)

JSONデータをデコードする.

php5.2.0からpreg_match関数に渡せるデータ長に制限がある(?)ため, Services_JSONが正常に動作しなくなる. そのため5.2.0以上の場合は組み込み関数のjson_decode()を使用する.




Tags:

see:  SC_Utils_Ex::jsonDecode


Parameters:

string   $str  

[ Top ]

method display [line 72]

void display( )

Enter description here...



[ Top ]

method isError [line 29]

void isError( )

Enter description here...



[ Top ]

method isSuccess [line 33]

void isSuccess( )



[ Top ]

method setError [line 46]

void setError( unknown_type $errCode, unknown_type $errMessage)

Enter description here...



Parameters:

unknown_type   $errCode  
unknown_type   $errMessage  

[ Top ]

method setSuccess [line 62]

void setSuccess( [mixed $data = array()], [ $msg = ''])

Enter description here...



Parameters:

mixed   $data  
   $msg  

[ Top ]


Documentation generated on Fri, 24 Feb 2012 14:02:23 +0900 by Seasoft